

package com.kimo.shop.service;

import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kimo.shop.bean.enums.SendType;
import com.kimo.shop.bean.model.NotifyTemplate;
import com.kimo.shop.bean.model.SmsLog;

/**
 *
 * @author kimo-taozhouchuan on 2018/11/29.
 */
public interface SmsLogService extends IService<SmsLog> {

	public void sendSms(SendType sendType, String userId, String mobile, Map<String,String> params);

	public boolean checkValidCode(String mobile, String code, SendType smsType);

    Boolean sendMsgSms(NotifyTemplate template, String userMobile, Map<String, String> smsParam);
}
